module.exports = {
  EnumDic: {
    FlowStatus: 'FlowStatus',
    AuditType: 'FlowAuditType',
    AuditButton: 'FlowAuditButton',
    FlowMsgType: 'FlowMsgType',
    FlowMsgReceiveRange: 'FlowMsgReceiveRange',
    FlowNodeOutPolicy: 'FlowNodeOutPolicy',
    FlowNodeIntoCondition: 'FlowNodeIntoCondition',
    FlowAppType: 'FlowAppType',
    FlowAppStatus: 'FlowAppStatus',
    FlowOutCondition: 'FlowOutCondition',
    FlowTimeOutOpt: 'FlowTimeOutOpt',
    FlowBackMethod: 'FlowBackMethod',
    AuditNoPassOpt: 'FlowOutNoPassOptMethod',
    FlowAuditStatus: 'FlowAuditStatus',
    FlowAuditLogStatus: 'FlowAuditLogStatus',
    FlowUseRange: 'FlowEventType',
    FlowInterType: 'FlowInterType',
    FlowInterStatus: 'FlowInterStatus',
    FlowMsgNoticeRange: 'FlowMsgNoticeRange',
    FlowNodeStartMode: 'FlowNodeStartMode'
  },
  DictItemDic: {
    flowType: '10'
  },
  FlowInterType: {
    0: {
      text: '指令',
      value: 0
    },
    1: {
      text: 'Http',
      value: 1
    },
    2: {
      text: '广播',
      value: 2
    }
  },
  FlowInterStatus: {
    0: {
      text: '起草',
      value: 0
    },
    1: {
      text: '启用',
      value: 1
    },
    2: {
      text: '停用',
      value: 2
    }
  },
  FlowAuditType: {
    0: {
      text: '未设定',
      value: 0
    },
    1: {
      text: '独立审批',
      value: 1
    },
    2: {
      text: '多人会审',
      value: 2
    }
  },
  FlowStatus: {
    0: {
      text: '起草',
      value: 0
    },
    1: {
      text: '启用',
      value: 1
    },
    2: {
      text: '停用',
      value: 2
    }
  },
  FlowAppType: {
    0: {
      text: '内部应用',
      value: 0
    },
    1: {
      text: '外部应用',
      value: 1
    }
  },
  FlowAppStatus: {
    0: {
      text: '起草',
      value: 0
    },
    1: {
      text: '启用',
      value: 1
    },
    2: {
      text: '停用',
      value: 2
    }
  },
  FlowNodeType: {
    begin: {
      text: '开始节点',
      value: 0
    },
    sigleNode: {
      text: '单一处理结节',
      value: 1
    },
    whileNode: {
      text: '循环处理结节',
      value: 2
    },
    end: {
      text: '结束',
      value: 3
    },
    subFlow: {
      text: '子流程',
      value: 4
    }
  },
  FlowMsgType: [{
    text: '审核开始',
    value: 0
  }, {
    text: '审核通过',
    value: 1
  }, {
    text: '开始审批',
    value: 2
  }, {
    text: '审核未通过',
    value: 3
  }],
  FlowMsgReceiveRange: [{
    text: '指定公司',
    value: 2
  }, {
    text: '指定单位',
    value: 4
  }, {
    text: '指定部门',
    value: 8
  }, {
    text: '指定成员',
    value: 1
  }, {
    text: '职务',
    value: 16
  }, {
    text: '岗位',
    value: 32
  }, {
    text: '流程发起人',
    value: 3
  }, {
    text: '表单中字段',
    value: 5
  }, {
    text: '指定节点审批人',
    value: 7
  }],
  AuditMoreBtn: [
    {
      text: '委托',
      value: 7,
      btn: 2048
    }, {
      text: '转办',
      value: 8,
      btn: 4096
    },
    {
      text: '向前加签',
      value: 9,
      btn: 1024
    },
    {
      text: '向后加签',
      value: 10,
      btn: 1024
    }
  ],
  AuditButton: [
    {
      text: '审核通过',
      value: 2
    },
    {
      text: '打回修改',
      value: 4
    },
    {
      text: '撤回',
      value: 8
    },
    {
      text: '终审通过',
      value: 16
    },
    {
      text: '审核未通过',
      value: 32
    }, {
      text: '退回',
      value: 64
    }, {
      text: '抄送',
      value: 128
    }, {
      text: '提交审核',
      value: 256
    }, {
      text: '取消',
      value: 512
    }, {
      text: '加签',
      value: 1024
    }, {
      text: '委托',
      value: 2048
    }, {
      text: '转办',
      value: 4096
    }
  ],
  SpecifyMode: [{
    text: '自由指定',
    value: 0
  }, {
    text: '公司',
    value: 2
  }, {
    text: '单位',
    value: 32
  }, {
    text: '部门',
    value: 4
  }, {
    text: '当前发起人',
    value: 128
  }, {
    text: '流程发起人',
    value: 1024
  }, {
    text: '指定表单字段',
    value: 1
  }, {
    text: '指定固定人员',
    value: 3
  }, {
    text: '指定节点审批人',
    value: 7
  }, {
    text: '职务',
    value: 16
  }, {
    text: '岗位',
    value: 8
  }],
  FlowEventList: [
    {
      text: '审核开始',
      value: 0
    },
    {
      text: '审核结束',
      value: 1
    },
    {
      text: '节点开始',
      value: 2
    },
    {
      text: '节点结束',
      value: 3
    },
    {
      text: '节点创建',
      value: 4
    }
  ],
  conditionDic: {
    0: {
      text: '='
    },
    1: {
      text: '!='
    },
    2: {
      text: '>'
    },
    3: {
      text: '<'
    },
    4: {
      text: '>='
    },
    5: {
      text: '<='
    },
    6: {
      text: 'in'
    },
    7: {
      text: 'not in'
    }
  },
  WhileSpecifyMode: [{
    text: '逐级部门',
    value: 0
  }, {
    text: '逐级单位',
    value: 1
  }, {
    text: '逐级单位和部门',
    value: 2
  }],
  MsgDataType: {
    0: {
      text: '自定义',
      value: 0
    },
    1: {
      text: '表单',
      value: 1
    },
    2: {
      text: '审批字段',
      value: 2
    }
  },
  AuditMarkState: {
    0: {
      text: '普通',
      value: 0
    },
    1: {
      text: '委托',
      value: 1
    },
    2: {
      text: '转办',
      value: 2
    },
    3: {
      text: '退回',
      value: 3
    },
    4: {
      text: '打回',
      value: 4
    },
    5: {
      text: '向前加签',
      value: 5
    },
    6: {
      text: '向后加签',
      value: 6
    },
    7: {
      text: '撤回',
      value: 7
    },
    8: {
      text: '回签',
      value: 8
    },
    9: {
      text: '回源',
      value: 9
    }
  },
  AuditItemStatus: {
    0: {
      text: '审核进行中',
      color: '#409EFF',
      value: 0
    },
    1: {
      text: '待开始',
      color: '#909399',
      value: 1
    },
    2: {
      text: '审核通过',
      color: '#67C23A',
      value: 2
    },
    3: {
      text: '审核未通过',
      color: '#F56C6C',
      value: 3
    },
    4: {
      text: '已回退',
      color: '#F56C6C',
      value: 4
    },
    5: {
      text: '打回修改',
      color: '#F56C6C',
      value: 5
    },
    6: {
      text: '已撤回',
      color: '#E6A23C',
      value: 6
    },
    7: {
      text: '终审通过',
      color: '#67C23A',
      value: 7
    },
    8: {
      text: '已作废',
      color: '#F56C6C',
      value: 8
    },
    9: {
      text: '已取消',
      color: '#F56C6C',
      value: 9
    },
    10: {
      text: '已委托',
      color: '#409EFF',
      value: 10
    },
    11: {
      text: '已转办',
      color: '#67C23A',
      value: 11
    },
    12: {
      text: '已向前加签',
      color: '#E6A23C',
      value: 12
    },
    13: {
      text: '已向后加签',
      color: '#E6A23C',
      value: 13
    }
  },
  FlowAuditStatus: {
    1: {
      text: '审核进行中',
      color: '#409EFF',
      value: 0
    },
    0: {
      text: '待提交',
      color: '#909399',
      value: 1
    },
    2: {
      text: '审核通过',
      color: '#67C23A',
      value: 2
    },
    4: {
      text: '审核未通过',
      color: '#F56C6C',
      value: 4
    },
    5: {
      text: '已作废',
      color: '#E6A23C',
      value: 5
    },
    6: {
      text: '已取消',
      color: '#E6A23C',
      value: 6
    },
    7: {
      text: '已关闭',
      color: '#E6A23C',
      value: 7
    }
  }
}
